﻿<%@ Page Theme="BlueSkin" Title="LMS :  Log in --> New Account" Language="C#" MasterPageFile="~/LmsWebSite/MasterEN.master" AutoEventWireup="true" CodeFile="RegisterAccountEN.aspx.cs" Inherits="RegisterAccountEN"  %>














<%@ Register src="randomImageCtl.ascx" tagname="randomImageCtl" tagprefix="uc1" %>














<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    
    <style type="text/css">
        .rowWidth
        {
        	width:500px;
            
        }
        
        
        .labelHead
        {
            width:120px;
            text-align:center;
        }
        
        .spaceAfterHead
        {
        	width:35px;
        	font-size:1px;
        	height:1px;
        }
        
        
        .labelBody
        {
        	width:300px;
        }
        
        
        .verticalSapce
        {
        	height:10px;
        }
        
    
        .titleBody
        {
        	text-align:center;
        	color:#333399;
        	font-size:18px;
        }
        
        
        .emptySpaceDiv
        {
        	height:1px;
        	font-size:1px;
        }
        
        .spaceBeforeButton
        {
        	width:55px;
        	
        }
        
        .buttonDiv
        {
        	width:158px;
        }
    
    
    </style>
    
    
   


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <asp:UpdatePanel ID="up1" runat="server" >
    <ContentTemplate>
        <asp:UpdateProgress ID="uprogress1" runat="server">
            <ProgressTemplate>
            
                <div style="position:fixed;width:30px;height:30px;top:0px;right:0px;border:1px solid orange;">
                    <img src="images/loading.gif" style="width:30px;height:30px;"  alt='Loading' title='Loading'/>
                </div>
            </ProgressTemplate>
        </asp:UpdateProgress>
    
        
        
        
        
<table cellspacing="5" cellpadding="5" width="100%">
        <tr>
            <td align="left" class="heading">
                <a href="LoginEN.aspx">Log in</a> --> New Account
            </td>
        </tr>
    </table>
    <br />
    
    <div class="aligning allWidthWithMargins direction" style="margin-bottom:10px;margin-left:30px;margin-right:30px;font-size:14px;">
       <div class="rowWidth">
            
            <div class="floating labelHead emptySpaceDiv"></div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody titleBody">

                Please fill the next form and send it so we can acitvate your account 
            
            </div>
       
            


            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>



       <div class="rowWidth">
            
            <div class="floating labelHead">Arabic Full Name</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtFullName" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvFullName" runat="server" ErrorMessage="You must enter the full name in arabic" ControlToValidate="txtFullName">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>
       
       <div class="rowWidth">
            
            <div class="floating labelHead">English Full Name</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtEnglishFullName" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvEnglishFullName" runat="server" ErrorMessage="You must enter the full name in english" ControlToValidate="txtEnglishFullName">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>



       <div class="rowWidth">
            
            <div class="floating labelHead">Badge#</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtBadge" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvBadge" runat="server" ErrorMessage="You must enter the Employee Badge Number" ControlToValidate="txtBadge">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>

        <div class="rowWidth">
            
            <div class="floating labelHead">
                Email
            </div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                <asp:TextBox ID="txtEmail" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvEmail" runat="server" ErrorMessage="You must enter your Email" ControlToValidate="txtEmail">*</asp:RequiredFieldValidator>       
            
                    <asp:RegularExpressionValidator ID="revEmail" runat="server" 
                        ErrorMessage="You must enter a valid Email Address" 
                        ControlToValidate="txtEmail" 
                        ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>

       



       <div class="rowWidth">
            
            <div class="floating labelHead">Business Line</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                <asp:DropDownList ID="ddlBusinessLine" runat="server" CssClass="labelBody">
                </asp:DropDownList>
            </div>
           
            <div class="floating">
                  
                <asp:CustomValidator ID="cvBusinessLine" runat="server" 
                    ErrorMessage="You must choose your business line." 
                    onservervalidate="cvBusinessLine_ServerValidate">*</asp:CustomValidator>  
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>




       <div class="rowWidth">
            
            <div class="floating labelHead">Sector</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtSector" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvSector" runat="server" ErrorMessage="You must enter your sector" ControlToValidate="txtSector">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>


       <div class="rowWidth">
            
            <div class="floating labelHead">Management</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtManagement" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvManagement" runat="server" ErrorMessage="You must enter your management" ControlToValidate="txtManagement">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>


       <div class="rowWidth">
            
            <div class="floating labelHead">Charge Account</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtChargeAccount" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvChargeAccount" runat="server" ErrorMessage="You must enter your charge account" ControlToValidate="txtChargeAccount">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>


       <div class="rowWidth">
            
            <div class="floating labelHead">Area</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                <asp:DropDownList ID="ddlArea" runat="server" CssClass="labelBody">
                </asp:DropDownList>
            </div>
           
            <div class="floating">
                  
                <asp:CustomValidator ID="cvArea" runat="server" 
                    ErrorMessage="You must choose your area." 
                    onservervalidate="cvArea_ServerValidate" >*</asp:CustomValidator>  
            </div>
       
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>




       <div class="rowWidth">
            
            <div class="floating labelHead">Nationality</div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                           <asp:TextBox ID="txtNat" runat="server" CssClass="labelBody"></asp:TextBox>
            </div>
           
            <div class="floating">
                    <asp:RequiredFieldValidator ID="rfvNat" runat="server" ErrorMessage="You must enter your nationality" ControlToValidate="txtNat">*</asp:RequiredFieldValidator>       
            </div>
           

            <div class="clearing"></div>
       </div>
       
       <div class="clearing verticalSapce"></div>


        <div class="rowWidth">
            
            <div class="floating labelHead emptySpaceDiv"></div>

            <div class="floating spaceAfterHead"></div>

            <div class="floating labelBody">
                  
                   <uc1:randomImageCtl ID="ricCheckImage" runat="server" />
            </div>
           
            <div class="floating">
                    <asp:CustomValidator ID="cvImage" runat="server" 
                        ErrorMessage="You must enter text in image exact" 
                        onservervalidate="cvImage_ServerValidate">*</asp:CustomValidator>
            </div>
            

            <div class="clearing"></div>
       </div>



       <div class="rowWidth">
            
            <div class="floating labelHead emptySpaceDiv"></div>

            <div class="floating spaceAfterHead emptySpaceDiv"></div>

            <div class="floating labelBody">
                    <div>
                        <asp:ValidationSummary ID="vsShowSummary" runat="server" ShowMessageBox="true" DisplayMode="List" />
                    </div>
                      
                    <div class="clearing"></div>
                
                     <div>
                        <asp:Label ID="lblResult" runat="server" Text="" ForeColor="Green" EnableViewState="false"></asp:Label>
                    </div>
                    
                    <div class="clearing"></div>
                
                     <div>
                        <asp:Label ID="lblError" runat="server" Text="" ForeColor="red" EnableViewState="false"></asp:Label>
                    </div>  
                      <div class="clearing"></div>
                          
            </div>
           
           
            <div class="floating">
                    
            </div>
           

            <div class="clearing"></div>
       </div>


       <div class="clearing verticalSapce"></div>


       <div class="rowWidth">
            
            <div class="floating labelHead emptySpaceDiv"></div>

            <div class="floating spaceAfterHead emptySpaceDiv"></div>

            <div class="floating labelBody">
                   
                   <div class="floating emptySpaceDiv spaceBeforeButton"></div>
                   <div class="floating buttonDiv">
                       <asp:Button ID="btnSubmit" runat="server" Text="Submit" 
                           onclick="btnSubmit_Click" />
                   </div>
                   <div class="floating">
                       <asp:Button ID="btnClear" runat="server" Text="Clear" CausesValidation="false" OnClick="btnClear_Click" />
                   </div>


             <div class="clearing"></div>
                          
            </div>
           
           
            <div class="floating">
                    
            </div>
           

            <div class="clearing"></div>
       </div>

       <div class="clearing"></div>
    </div>
    
    
    
    
        
    
    
        </ContentTemplate>
        </asp:UpdatePanel>


</asp:Content>

